body {
  width: 300px;
  padding: 10px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  margin: 0;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.button-group {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.button-group button {
  flex: 1;
  padding: 8px 12px;
  background: #0082dfdd;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  margin-bottom: 0;
}

.button-group .danger-btn {
  background: #d1453b;
}

.button-group .danger-btn:hover {
  background: #b3362b;
}

button:hover {
  background: #0166aedd;
}

.danger-btn {
  background-color: #ff4444;
  color: white;
}

.records-list {
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.records-list h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
}

#recordsContainer {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 400px;
  overflow-y: auto;
}

.record-item {
  padding: 8px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.record-item:hover {
  background-color: #f5f5f5;
}

.record-item.selected {
  background-color: #e0f0ff;
  border-left: 3px solid #0082df;
}

.record-info {
  flex: 1;
}

.record-date {
  font-size: 14px;
  color: #666;
}

.record-count {
  font-size: 13px;
  color: #999;
}

.record-actions {
  display: flex;
  gap: 5px;
}

.record-action {
  background: none;
  border: none;
  color: #0060df;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 5px;
}
.record-action:hover {
  color:#f0f0f0
}

.delete-action {
  color: #c55f5f;
}

.record-item input[type="checkbox"] {
  margin-right: 10px;
}

.select-actions {
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.select-actions input[type="checkbox"] {
  margin-right: 8px;
}

.select-actions label {
  font-size: 14px;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  width: 80%;
  max-width: 300px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modal-content p {
  margin: 0 0 20px 0;
  font-size: 16px;
  line-height: 1.5;
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-buttons button {
  padding: 6px 12px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 15px;
}

#confirmOk {
  background-color: #0060df;
  color: white;
}

#confirmCancel {
  background-color: #f0f0f0;
  color: #333;
}

#confirmOk:hover {
  background-color: #003eaa;
}

#confirmCancel:hover {
  background-color: #e0e0f0;
}